package com.ruoyi.dm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class DataManagementParam {
    @ApiModelProperty(value = "id", name = "id")
    private Long id;
    @ApiModelProperty(value = "目录ID（1:轨道大气探测星座,2:国内卫星监测数据,3:国外卫星监测数据,4:国内地基监测数据,5:国外地基监测数据,6:再分析资料,7:空间目标数据,8:目标落数据,9:空间环境指数数据）", name = "parentId")
    private Long parentId;
    @ApiModelProperty(value = "数据名称", name = "dataName")
    private String dataName;
    @ApiModelProperty(value = "数据来源", name = "dataSource")
    private String dataSource;
    @ApiModelProperty(value = "数据用途", name = "dataUse")
    private String dataUse;
    @ApiModelProperty(value = "表结构JSON", name = "tableStructure")
    private String tableStructure;
    @ApiModelProperty(value = "数据类型", name = "dataType")
    private String dataType;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;
    @ApiModelProperty(value = "旧表名", name = "oldTable")
    private String oldTable;

}
